$LOAD_PATH.unshift File.join(File.dirname(__FILE__),'../..','ext_pr1/lib')
require 'ext_pr1_v4'

# Fläche eines Pentagondodekaeders
# plain_pentagondodecahedron ::= (length) ::
#   float => float
# Testfälle
# {2.0 => 82.58291522, 3 => 185.8115592, 78 = > 125608.6140}

CONST=3.0*Math.sqrt(25.0+(Math.sqrt(5.0)*10.0))

def plain_pentagondodecahedron (length)
  check_pre((length.nat?))
  (length**2.0)* CONST
end
